﻿using mozhi.smarterp.Finance.Querys;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.Finance.Finances.Templates
{
    public interface IJournalTemplateAppService : IApplicationService
    {
        Task<PagedResultDto<JournalTemplateDto>> FindAsync(PageQuery query);

        Task<JournalTemplateDto> GetAsync(Guid id);

        Task<JournalTemplateDto> CreateAsync(JournalTemplateCreateDto dto);

        Task<JournalTemplateDto> UpdateAsync(JournalTemplateUpdateDto dto);

        Task<bool> DeleteAsync(Guid id);
    }
}
